package com.peas.platform.module.icims.expenditure.expenses.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.expenditure.expenses.adapter.repository.ExpenditureReimbursementTravelRepository;
import com.peas.platform.module.icims.expenditure.expenses.adapter.repository.po.ExpenditureReimbursementTravelPo;
import com.peas.platform.module.icims.expenditure.expenses.domain.ExpenditureReimbursementTravelDomain;
import com.peas.platform.module.icims.expenditure.expenses.dto.ExpenditureReimbursementTravelDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ExpenditureReimbursementTravelDomainImpl extends BaseDomainImpl<ExpenditureReimbursementTravelDto, ExpenditureReimbursementTravelPo> implements ExpenditureReimbursementTravelDomain {

    @Resource
    private ExpenditureReimbursementTravelRepository expenditureReimbursementTravelRepository;

    @Override
    public BaseRepository<ExpenditureReimbursementTravelPo> getMapper() {
        return expenditureReimbursementTravelRepository;
    }

    @Override
    public Class<? extends BaseRepository<ExpenditureReimbursementTravelPo>> getRepositoryClass() {
        return ExpenditureReimbursementTravelRepository.class;
    }

}
